﻿@model Vacation.Models.Course

@{
    ViewBag.Title = "删除课程";
}

<h2>删除课程</h2>

<h3>确定删除本课程么?</h3>
<table width="100%" class="edit">
        <tr>
            <th>
                <div class="display-label">
                    @Html.LabelFor(model => model.CourseNo)
                </div>
            </th>
            <td>
                <div class="display-field">
                    @Html.DisplayFor(model => model.CourseNo)
                </div>
            </td>
        </tr>
        <tr>
            <th>
                <div class="display-label">
                    @Html.LabelFor(model => model.Name)
                </div>
            </th>
            <td>
                <div class="display-field">
                    @Html.DisplayFor(model => model.Name)
                </div>
            </td>
        </tr>
        <tr>
            <th>
                <div class="display-label">
                    @Html.LabelFor(model => model.Type)
                </div>
            </th>
            <td>
                <div class="display-field">
                     @Html.DisplayFor(model => model.Type)
                </div>
            </td>
        </tr>
        <tr>
            <th>
                <div class="display-label">
                    @Html.LabelFor(model => model.School)
                </div>
            </th>
            <td>
                <div class="display-field">
                    @Html.DisplayFor(model => model.School)
                </div>
            </td>
        </tr>
                <tr>
            <th>
                <div class="display-label">
                    @Html.LabelFor(model => model.Teacher)
                </div>
            </th>
            <td>
                <div class="display-field">
                    @Html.DisplayFor(model => model.Teacher)
                </div>
            </td>
        </tr>
                <tr>
            <th>
                <div class="display-label">
                     @Html.LabelFor(model => model.Date)
                </div>
            </th>
            <td>
                <div class="display-field">
                     @Html.DisplayFor(model => model.Date)
                </div>
            </td>
        </tr>
    </table>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="删除" /> |
        @Html.ActionLink("返回列表", "Index")
    </p>
}
